#!/bin/sh
LB_HOME=./libs
LB_VERSION=1.2.3
API_VERSION=1.7.5
CLASSPATH=${CLASSPATH}:${LB_HOME}/logback-classic-${LB_VERSION}.jar
CLASSPATH=${CLASSPATH}:${LB_HOME}/logback-core-${LB_VERSION}.jar
CLASSPATH=${CLASSPATH}:${LB_HOME}/logback-examples-${LB_VERSION}.jar
CLASSPATH=${CLASSPATH}:${LB_HOME}/slf4j-api-${API_VERSION}.jar
export CLASSPATH
echo $CLASSPATH
# log server listen on 6000
# java ch.qos.logback.classic.net.SimpleSocketServer 6000 server.xml
# log server pull event from client:4560
#java chapters.receivers.socket.ReceiverExample server.xml &
java chapters.receivers.socket.ReceiverExample server.xml
